import { DEBUG } from "@/config";

const DebugToast = (message: string) => {
  message = `debug:${message}`;
  window.$message.info(message, {
    duration: 3000,
  });
};
export const debug = (info: string): void => {
  DEBUG && DebugToast(info);
};
